﻿using AutoMapper;
using StarsAdmin.Application.OperationLog.Dtos;
using StarsAdmin.Core.DB.Entities;
using StarsAdmin.Core.Models;

namespace StarsAdmin.Application.OperationLog.Mappings
{
    public class OperationLogAutoMapperProFile : Profile
    {
        public OperationLogAutoMapperProFile()
        {
            CreateMap<OperationLogEntity, OperationLogDto>();
            CreateMap<AddOperationLogInput, OperationLogEntity>();
            CreateMap<Page<OperationLogEntity>, Page<OperationLogDto>>();
        }
    }
}